package com.ruanda.model;

import com.ruanda.domain.OrderItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单确认页面参数对象
 */
@Schema(description = "订单确认页面参数对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderConfirmParam {
    /**
     * 接收请求来自于商品详情页面的参数
     */
    @Schema(description = "订单商品条目对象（接收请求来自于商品详情页面的参数）")
    private OrderItem orderItem;
    @Schema(description = "购物车id集合（接收请求来自于购物车页面参数）")
    private List<Long> basketIds;
}